package com.zzp.zjs_bos.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * 角色实体
 */

public class Role implements java.io.Serializable {

	// Fields

	private String id;
	private String name; //角色名
	private String code; //角色关键字
	private String description; //描述
	private Set users = new HashSet(0); //用户对应的角色
	private Set functions = new HashSet(0); //角色对应的权限
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Set getUsers() {
		return users;
	}
	public void setUsers(Set users) {
		this.users = users;
	}
	public Set getFunctions() {
		return functions;
	}
	public void setFunctions(Set functions) {
		this.functions = functions;
	}
	public Role(String id) {
		super();
		this.id = id;
	}
	public Role() {
		
	}
	
	

}